@charset "utf-8";
$fontSize:40;
@function r($p) {
    @return $p/$fontSize*1rem;
}

html,
body {
    overflow-x: hidden;
}

section {
    background-color: #f5f5f5;
}

//海报部分
#move_pic {
    overflow: hidden;
    position: relative;
    height: r(355);
}

.movepic_nav {
    width: 100%;
    position: absolute;
    bottom: r(20);
    z-index: 1;
    ul {
        width: r(100);
        margin: 0 auto;
        display: flex;
        justify-content: space-around;
        
        li {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin: 0 4px;
            background: white;
        }
    }
}

.changecolor {
    background: #1f1f1f!important;
}

.banner_item {
    width: 100%;
    height: r(355);
    opacity: 0;
    overflow: hidden;
    position: absolute;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.banner_item>img {
    width: 100%;
}

.banner_tit_bg {
    width: 100%;
    height: r(104);
    background-color: rgba(63,61,61,0.6);
    position: absolute;
    bottom: 0;
}

.banner_tit {
    margin: r(18) 0 0 r(30);
}

.banner_tit>p:first-of-type {
    color: white;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: r(591);
    font-size: 18px;
}

.article_inf {
    color: white;
    margin-top: r(6);
}

.article_inf>p {
    display: inline-block;
    font-size: 14px;
}

.article_inf>p>span {
    padding: 0 5px;
}

.love>i {
    font-size: 12px;
}

.see {
    margin-left: r(29);
}

.see>i {
    font-size: 14px;
}

.date {
    float: right;
    margin-right: r(20);
}

//头条文章
.top_line {
    width: 100%;
    background: white;
}

.topline_item {
    width: r(582);
    margin: 10px auto;
    padding-bottom: 10px;
    border-bottom: 1px solid #dddddd;
    img {
        width: r(209);
        float: right;
    }
}

.top_article_tit {
    width: r(324);
    p:nth-child(1) {
        color: #323232;
        font-size: 16px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    p:nth-child(3) {
        padding-top: 5px;
        color: #c5c5c5;
        font-size: 14px;
        >i {
            font-size: 13px;
            padding-right: 5px;
        }
    }
    p:nth-child(2) {
        padding-top: 3px;
        float: right;
        color: #c5c5c5;
        font-size: 14px;
    }
}

//横栏文章
.pic_article {
    width: 100%;
    background: white;
    margin-top: 20px;
}

.pic_article_item {
    width: r(582);
    margin: 0 auto;
    >p {
        padding: 10px 0;
        color: #323232;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

.three_pic {
    display: flex;
    justify-content: space-between;
    align-content: center;
    img {
        width: r(186);
        height: r(123);
    }
}

.three_pic~div {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    p {
        color: #c5c5c5;
        font-size: 14px;
        margin-top: 10px;
    }
    p:nth-child(1) {
        display: table;
        span {
            display: table-cell;
            vertical-align: middle;
            //          padding-bottom: 8px;
            padding-left: 5px;
            font-size: 15px;
        }
    }
    p:nth-child(2) {
        i {
            font-size: 13px;
            padding-right: 5px;
        }
    }
    p:nth-child(3) {
        i {
            padding-right: 5px;
        }
    }
}

.more_cont_bg {
    background: white;
    text-align: center;
    padding: 0 0 15px;
    color: #c5c5c5;
}

//底部项目颜色
div[class="foot_item"]:nth-child(1) {
    color: #b60207;
}

//用户界面
.user_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222222;
    z-index: 2;
    
    //动画
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeOutLeft {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

.user_page_cont {
    background: #222222;
}

.user_page_search {
    width: r(614);
    margin: 0 auto;
    border-bottom: 1px solid #484848;
}

.user_page_search>form {
    position: relative;
    float: right;
    margin-top: 20px;
    padding-bottom: 10px;
    input::-webkit-input-placeholder {
        color: #525252;
        opacity: 1;
    }
}

.user_page_search>form>a {
    position: absolute;
    left: 0;
    width: 50px;
    height: r(52);
    color: white;
    text-align: center;
    line-height: r(54);
    i {
        font-size: 16px;
    }
}

.user_page_search img {
    margin: 20px 0;
    width: r(50);
}

.search_input {
    width: r(355);
    height: r(52);
    border: 2px solid white;
    font-size: 16px;
    border-radius: 40px!important;
    background: #222222;
    padding: 0 30px 0 50px;
    color: white;
}

.user {
    height: r(380);
    text-align: center;
    position: relative;
    img {
        width: r(129);
        margin-top: r(85);
    }
    p:nth-of-type(1) {
        padding-top: 10px;
        >a {
            color: #ffffff;
            font-size: 16px;
        }
    }
    p:nth-of-type(2) {
        padding-top: 5px;
        >a {
            color: #525252;
            font-size: 14px;
            text-decoration: underline;
        }
    }
}

div[class="user"]:after {
    content: "";
    display: block;
    background-color: #303030;
    width: 100%;
    height: r(24);
    position: absolute;
    bottom: 0;
}

.nav {
    width: r(576);
    margin: 30px auto 0;
    ul {
        li {
            color: #ffffff;
            font-size: 16px;
            padding: 16px 0;
            border-bottom: 1px solid #353535;
            position: relative;
            i {
                position: absolute;
                right: 0;
            }
        }
    }
}

//搜索界面
.search_page {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    background: #f1f1f1;
    width: 100%;
    height: 100%;
    //动画
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.search_page_top {
    background: #222222;
}

.hot_search {
    p {
        padding: 15px 0 15px 10px;
    }
    ul {
        margin-left: 10px;
        li {
            display: inline-block;
            vertical-align: top;
            height: 20px;
            padding: 5px;
            margin-right: 8px;
            margin-bottom: 10px;
            background-color: white;
            color: #8b8b8b;
        }
    }
}

@-webkit-keyframes fadeOutRight {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

@keyframes fadeOutRight {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

@-webkit-keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}